-
Home
-
Whols – Wholesale Prices and B2B Store Solution for WooCommerce
-
2.4.2
-
Code
-
Classes
- Notice_Handler
| Total Complexity |
66 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
440 |
| Lines of code |
277 |
| Logical lines of code |
120 |
| Comment lines |
101 |
| Methods |
14 |
| Properties |
2 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| ajax_dismiss() |
A |
46 |
13 |
34 |
| is_expired() |
A |
48 |
13 |
32 |
| prepare_notice() |
A |
44 |
7 |
45 |
| show_admin_notices() |
A |
54 |
8 |
22 |
| html() |
S |
53 |
5 |
22 |
| sort_notices() |
S |
61 |
5 |
12 |
| enqueue_scripts() |
S |
46 |
1 |
71 |
| add_notice() |
S |
63 |
5 |
10 |
| get_notice_by_id() |
S |
66 |
3 |
8 |
| instance() |
S |
72 |
2 |
6 |
| __construct() |
S |
72 |
1 |
5 |
| set_notice() |
S |
79 |
1 |
3 |
| get_notices() |
S |
75 |
1 |
4 |
| render_attribute() |
S |
81 |
1 |
3 |